{if $listing->data|@count > 0}
	 <div class="listing_block JS_ATTR_{$listing->listing_name} {if $currentStep.treeView}with_file_tree{else}without_file_tree{/if}">
		 {if $currentStep.treeView}
			<div id="fileTree"></div>
		{/if}
		{if $listing->currentPage > $listing->nbPages}
		<p>Bad page number.</p>
		{elseif $listing->type == 'table'}
			{include file='listing_table.tpl'}
			{include file='listing_navigation.tpl'}
		{elseif ($listing->type == 'list1' || $listing->type == 'list2')}
			{include file='listing_list.tpl'}
		{else}
		<p>No correct listing type.</p>
		{/if}
	</div>
{else}
	<p>Aucun fichier dans ce repertoire actuellement.</p>
{/if}
